package com.wnxy.common.base.enums.impl;

import com.wnxy.common.base.enums.IBaseCode;
import lombok.Getter;

@Getter
public enum BusinessCode implements IBaseCode {
    USER_EXISTS(5500,"用户名已经存在"),
    ORDER_PAY_FAILD(5600,"订单支付失败");

    private Integer code;
    private String message;

    BusinessCode(Integer code,String message) {
        this.code = code;
        this.message = message;
    }
}
